package cn.tsoft.service.impl;

import java.util.ArrayList;
import java.util.List;

import cn.tsoft.demo.Student;
import cn.tsoft.service.StudentService;

public class StudentServiceImpl implements StudentService {
   /**
    * 这个里面可以访问数据库
    */
	public List<Student> getStudentList() throws Exception {
		List<Student> student = new ArrayList<Student> ();
		student.add(new Student(1, "nihaoni", 23));
		student.add(new Student(2, "ooooooo", 25));
		student.add(new Student(3, "nihfsdfenihao", 27));
		return student;
	}
}
